
//我的银座
$(".Head").find($("li")).mouseenter(function(){
    $(this).children().show().parent("li").css({background:"white"})
})
$(".Head").find($("li")).mouseleave(function(){
    $(this).children(".cc").hide().parent("li").css({background:""})
})
$(".Head").find($("li")).mouseleave(function(){
    $(this).children(".qq").hide().parent("li").css({background:""})
})



// //右侧选项卡
   $(".yuan").find($("span")).mouseover(function(){

    $(this).css({background:"green",radius:"50%"}).siblings().css({background:""}).parent().next().children().eq($(this).index()).addClass("active").siblings().removeClass("active")
})

//右侧轮播
var swiper = new Swiper('.small-img', {
    spaceBetween: 30,
    centeredSlides: true,
    autoplay: {
      delay: 2500,
      disableOnInteraction: false,
    },
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
    // navigation: {
    //   nextEl: '.swiper-button-next',
    //   prevEl: '.swiper-button-prev',
    // },
  });


//菜单栏
$(".nav-next").find("li").mouseover(function(){
$(this).children(".other").show()
})
$(".nav-next").find("li").mouseout(function(){
$(this).children(".other").hide()
})

            //find($("li"))
$(".caidan").children("li").mouseover(function(){
    $(this).css({
        background:"gray",
        color:"white"
    })
})
$(".caidan").children("li").mouseout(function(){
    $(this).css({
        background:"",
        color:""
    })
})


//商家优惠
$(".sale-right").find("p").mouseenter(function(){
    $(this).next().animate({height:"155"}).show()
})
$(".sale-right").find("p").mouseleave(function(){
    $(this).next().animate({height:""}).hide()
})



//轮播

var swiper = new Swiper('.center-box', {
    spaceBetween: 30,
    centeredSlides: true,
    autoplay: {
      delay: 2500,
      disableOnInteraction: false,
    },
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
    // navigation: {
    //   nextEl: '.swiper-button-next',
    //   prevEl: '.swiper-button-prev',
    // },
  });


//您身边的银座
  var swiper = new Swiper('.bigbox', {
    spaceBetween: 30,
    centeredSlides: true,
    autoplay: {
      delay: 2500,
      disableOnInteraction: false,
    },
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
    // navigation: {
    //   nextEl: '.swiper-button-next',
    //   prevEl: '.swiper-button-prev',
    // },
  });


  



 